package com.boss.salary.service;

import com.boss.common.entity.PageDTO;
import com.boss.framework.dto.PaginationDTO;
import com.boss.salary.entity.AgencyExt;
import com.boss.salary.entity.AgencyInfo;
import com.boss.salary.entity.AgencyVerify;

import java.util.List;
import java.util.Map;

public interface IAgencyInfoAuditService {

    /**
     * 分页查询
     * @param paginationDTO
     * @return
     */
    PageDTO<AgencyInfo> queryAgencyInfoPage(PaginationDTO paginationDTO, Map<String, Object> queryParam, List<String> childrenId);

    /**
     * 修改单位信息状态（审核状态，回退状态）
     * @param state
     */
    void updateAgencyInfoState(AgencyExt state);

    /**
     * 审核
     * @param agencyInfoList
     */
    void auditAgencyInfo(List<AgencyInfo> agencyInfoList);

    /**
     * 撤销审核
     * @param agencyInfoList
     */
    void revokeAudit(List<AgencyInfo> agencyInfoList);

    /**
     * 退回
     * @param agencyInfoList
     */
    void returnAgencyInfo(List<AgencyInfo> agencyInfoList);
}
